Electromagnetic logging while drilling tool

ABSTRACT

A deep reading electromagnetic logging while drilling tool includes first and second logging while drilling subs, the first of which includes a first transmitter and a first receiver axially spaced apart from one another and the second of which includes a second transmitter and a second receiver axially spaced apart from one another. Each of the first and second transmitters and first and second receivers includes an axial antenna and collocated first and second transverse antennas. The first and second transverse antennas in the first receiver are rotationally offset by a predefined angle from the first and second transverse antennas in the first transmitter.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application Ser. No. 61/972,291 entitled Compensated Deep Propagation Tensor Measurement with Orthogonal Antennas, filed Mar. 29, 2014.

FIELD OF THE INVENTION

Disclosed embodiments relate generally to downhole electromagnetic logging and more particularly to a logging tool for making fully gain compensated tri-axial propagation measurements, such as phase shift and attenuation measurements, using orthogonal antennas.

BACKGROUND INFORMATION

The use of electromagnetic measurements in prior art downhole applications, such as logging while drilling (LWD) and wireline logging applications is well known. Such techniques may be utilized to determine a subterranean formation resistivity, which, along with formation porosity measurements, is often used to indicate the presence of hydrocarbons in the formation. Moreover, azimuthally sensitive directional resistivity measurements are commonly employed e.g., in pay-zone steering applications, to provide information upon which steering decisions may be made.

Downhole electromagnetic measurements are commonly inverted at the surface using a formation model to obtain various formation parameters, for example, including vertical resistivity, horizontal resistivity, distance to a remote bed, resistivity of the remote bed, dip angle, and the like. One challenge in utilizing directional electromagnetic resistivity measurements, is obtaining a sufficient quantity of data to perform a reliable inversion. The actual formation structure is frequently significantly more complex than the formation models used in the inversion. The use of a three-dimensional matrix of propagation measurements may enable a full three-dimensional measurement of the formation properties to be obtained as well as improve formation imaging and electromagnetic look ahead measurements. However, there are no known methods for providing a fully gain compensated tri-axial propagation measurement.

SUMMARY

A deep reading electromagnetic logging while drilling tool includes first and second logging while drilling subs. The first sub includes a first transmitter and a first receiver axially spaced apart from one another and the second sub includes a second transmitter and a second receiver axially spaced apart from one another. Each of the first and second transmitters and first and second receivers includes an axial antenna and collocated first and second transverse antennas. The first and second transverse antennas in the first receiver are rotationally offset by a predefined angle from the first and second transverse antennas in the first transmitter. The logging while drilling tool may optionally include a processor configured to acquire voltage measurements from the first and second receivers and process ratios of selected voltage measurements to obtain fully gain compensated measurement quantities.

The disclosed embodiments may provide various technical advantages. For example, the disclosed embodiments may provide an electromagnetic logging while drilling tool that ensures that a non-zero signal is received at each of the x- and y-axis receivers when the x- and y-axis transmitters with the predefined rotational offset are fired. The disclosed logging tool may further advantageously be utilized to obtain a fully gain compensated three-dimensional matrix of measurements. Moreover, the use of orthogonal antennas in the disclosed embodiment significantly reduces the effects of antenna tilt angle variation, tool bending, and alignment angle errors on the compensated measurement quantities.

This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the disclosed subject matter, and advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:

FIG. 1 depicts one example of a drilling rig on which the disclosed electromagnetic logging tools and methods may be utilized.

FIG. 2A depicts one example of the deep reading electromagnetic logging tool shown on FIG. 1.

FIG. 2B schematically depicts a deep reading electromagnetic logging tool including collocated triaxial transmitters and receivers.

FIG. 2C schematically depicts another deep reading electromagnetic logging tool embodiment including transmitters and receivers having axial and orthogonal antennas.

FIG. 3A depicts a flow chart of a disclosed method embodiment.

FIG. 3B depicts a flow chart of another disclosed method embodiment.

FIGS. 4A and 4B depict phase shift and attenuation versus depth for a compensated zz measurement at frequencies of 2, 6, and 12 kHz.

FIGS. 5A and 5B depict phase shift and attenuation versus depth for a compensated xx measurement at frequencies of 2, 6, and 12 kHz.

FIG. 6 depicts a three layer formation model used to evaluate the directional response of disclosed symmetrized and anti-symmetrized measurements.

FIGS. 7A and 7B depict symmetrized and anti-symmetrized phase shift and attenuation versus total vertical depth at 30 degrees relative dip.

FIGS. 8A and 8B depict symmetrized and anti-symmetrized phase shift and attenuation versus total vertical depth at 70 degrees relative dip.

DETAILED DESCRIPTION

FIG. 1 depicts an example drilling rig 10 suitable for employing various method embodiments disclosed herein. A semisubmersible drilling platform 12 is positioned over an oil or gas formation (not shown) disposed below the sea floor 16. A subsea conduit 18 extends from deck 20 of platform 12 to a wellhead installation 22. The platform may include a derrick and a hoisting apparatus for raising and lowering a drill string 30, which, as shown, extends into borehole 40 and includes a drill bit 32 deployed at the lower end of a bottom hole assembly (BHA) that further includes a deep reading electromagnetic measurement tool 50 configured to make tri-axial electromagnetic logging measurements. As described in more detail below the deep reading electromagnetic measurement tool 50 may include multiple orthogonal antennas deployed on at least first and second axially spaced subs.

It will be understood that the deployment illustrated on FIG. 1 is merely an example. Drill string 30 may include substantially any suitable downhole tool components, for example, including a steering tool such as a rotary steerable tool, a downhole telemetry system, and one or more MWD or LWD tools including various sensors for sensing downhole characteristics of the borehole and the surrounding formation. The disclosed embodiments are by no means limited to any particular drill string configuration.

It will be further understood that the disclosed embodiments are not limited to use with a semisubmersible platform 12 as illustrated on FIG. 1. The disclosed embodiments are equally well suited for use with either onshore or offshore subterranean operations.

FIGS. 2A, 2B, and 2C (collectively FIG. 2) depict electromagnetic measurement tool embodiments 50 and 50′. FIG. 2A depicts one example of an electromagnetic measurement tool 50. In the depicted embodiment measurement tool 50 includes a first transmitter 52 and a first receiver 53 deployed on a first sub 51 and a second transmitter 57 and a second receiver 58 deployed on a second sub 56. The first and second subs 51 and 56 may be axially spaced apart substantially any suitable distance to achieve a desired measurement depth. While not shown, other BHA tools may deployed between subs 51 and 56. As described in more detail below each of the transmitters 52 and 57 and receivers 53 and 58 includes three tri-axial antennas (an axial antenna and first and second transverse antennas that are orthogonal to one another in this particular embodiment). As is known to those of ordinary skill in the art, an axial antenna is one whose moment is substantially parallel with the longitudinal axis of the tool. Axial antennas are commonly wound about the circumference of the logging tool such that the plane of the antenna is substantially orthogonal to the tool axis. A transverse antenna is one whose moment is substantially perpendicular to the longitudinal axis of the tool. A transverse antenna may include, for example, a saddle coil (e.g., as disclosed in U.S. Patent Publications 2011/0074427 and 2011/0238312 each of which is incorporated by reference herein). The first sub 51 may include a first set of magnetometers 60, and the second sub may include a second set of magnetometers 65. The magnetometers 60, 65 may be configured to acquire magnetic field measurements. A downhole processor 61 and/or 66 may process the magnetic field measurements to compute the angle gamma, as discussed below.

FIG. 2B depicts the antenna moments for transmitters 52 and 57 and receivers 53 and 58 on electromagnetic measurement tool 50. Transmitter 52 (T1) includes three collocated tri-axial antennas T1 x, T1 y, and T1 z. The antennas T1 x, T1 y, and T1 z have mutually orthogonal moments that are aligned with the x-, y-, and z-directions. Receiver 53 (R1) also includes three collocated tri-axial antennas R1 x, R1 y, and R1 z. The antennas R1 x, R1 y, and R1 z also have mutually orthogonal moments. The moment of antenna R1 z is aligned with the moment of antenna T1 z (and the z-axis) while the moments of antennas R1 x and R1 y are rotationally offset from the moments of antennas T1 x and T1 y by an offset angle alpha=45 degrees. As depicted sub 56 is rotationally offset (about the axis of the drill string, the z-axis) with respect to sub 51 by a misalignment angle gamma such that transmitter T2 and receiver R2 are rotationally offset with respect transmitter T1 and receiver R1. Transmitter 57 (T2) includes collocated tri-axial antennas T2 x, T2 y, and T2 z. The antennas T2 x, T2 y, and T2 z have mutually orthogonal moments. The moment of antenna T2 z is aligned with the z-axis while the moments of antennas T2 x and T2 y are rotationally offset from the moments of antennas T1 x and T1 y by the angle gamma (as depicted at 55). Receiver 58 (R2) also includes collocated tri-axial antennas R2 x, R2 y, and R2 z. The antennas R2 x, R2 y, and R2 z have mutually orthogonal moments. The moment of antenna R2 z is aligned with the moment of antenna T2 z while the moments of antennas R2 x and R2 y are rotationally offset from the moments of antennas T2 x and T2 y by alpha=45 degrees and from the moments of antennas T1 x and T1 y by alpha+gamma degrees. The disclosed embodiment tends to be advantageous in that it ensures that the reception of a non-zero signal at each of the x- and y-axis receivers when the x- and y-axis transmitters are fired.

It will be understood that the offset angle α is not necessarily 45 degrees as depicted on FIG. 2B, but may be substantially any non-zero, non-ninety degree angle. An offset angle α in a range from about 30 to about 60 degrees is generally preferred, although by no means required. It will also be understood that the misalignment angle γ is the result of a rotational misalignment between subs 51 and 56 during make-up of the drill string. As such the misalignment angle γ may have substantially any value.

FIG. 2C depicts an alternative (and more general) electromagnetic measurement tool embodiment 50′. Measurement tool 50′ is similar to measurement tool 50 (FIGS. 2A and 2B) in that it includes a first tri-axial transmitter T1′ and a first tri-axial receiver R1′ deployed on a first sub 51′ and a second tri-axial transmitter T2′ and a second tri-axial receiver R2′ deployed on a second sub 56′. Measurement tool 50′ differs from measurement tool 50 in that the z-axis transmitter antennas T1 z′ and T2 z′ and the z-axis receiver antennas R1 z′ and R2 z′ are not collocated with the corresponding x- and y-axis transmitter and receiver antennas, but are axially offset therefrom. In general, the x- and y-axis transmitter and receiver antennas are collocated with one another while collocation of any one or more of the corresponding z-axis antennas is optional.

FIG. 3A depicts a flow chart of one disclosed method embodiment 100. An electromagnetic measurement tool (e.g., measurement tool 50 or 50′ on FIG. 2) is rotated in a subterranean wellbore at 110. Electromagnetic measurements are acquired at 120 while the tool is rotating and processed to obtain harmonic voltage coefficients. The harmonic voltage coefficients are rotated mathematically at 130 to simulate rotation of the x and y antennas in the R1 and R2 receivers and the T2 transmitter such that they are rotationally aligned with the x and y antennas in the T1 transmitter. Such rotation removes the effect of the offset angle α and misalignment angle γ on the measurements. Ratios of selected ones of the rotated voltage coefficients may then be processed to obtain gain compensated measurement quantities at 140.

FIG. 3B depicts a flow chart of an optional, more detailed embodiment 100′ of the method 100 depicted on FIG. 3A. An electromagnetic measurement tool is rotated in a subterranean wellbore at 110. A three dimensional matrix of electromagnetic voltage measurements is acquired at 120 while rotating. The acquired measurements are processed at 122 to obtain harmonic voltage coefficients (e.g., the DC, first harmonic cosine, first harmonic sine, second harmonic cosine, and second harmonic sine coefficients). At 124, selected ones of the harmonic voltage coefficients are processed to obtain transmitter and receiver gain ratio matrices. The harmonic voltage coefficients may be selected, for example, so that the gain ratio matrices replace the y transmitter and y receiver gains with x transmitter and x receiver gains when applied to the harmonic voltage coefficients. These gain ratio matrices may then be applied to the harmonic voltage coefficients at 126. The harmonic voltage coefficients (with the applied gain ratio matrices) are rotated mathematically at 130 as described above with respect to FIG. 3A. At 142, selected combinations of the rotated measurements obtained in 130 may be processed to obtain coefficient combinations and thereby increase the signal to noise ratio of the measurements. Selected ratios of these coefficient combinations may then be further processed at 144 to obtain gain compensated measurement quantities.

As is known to those of ordinary skill in the art, a time varying electric current (an alternating current) in a transmitting antenna produces a corresponding time varying magnetic field in the local environment (e.g., the tool collar and the formation). The magnetic field in turn induces electrical currents (eddy currents) in the conductive formation. These eddy currents further produce secondary magnetic fields which may produce a voltage response in a receiving antenna. The measured voltage in the receiving antennas can be processed, as is known to those of ordinary skill in the art, to obtain one or more properties of the formation.

In general the earth is anisotropic such that its electrical properties may be expressed as a three-dimensional tensor which contains information on formation resistivity anisotropy, dip, bed boundaries and other aspects of formation geometry. It will be understood by those of ordinary skill in the art that the mutual couplings between the tri-axial transmitter antennas and the tri-axial receiver antennas depicted on FIGS. 2B and 2C form a three-dimensional matrix and thus may have sensitivity to a full three-dimensional formation impedance tensor. For example, a three-dimensional matrix of measured voltages V may be expressed as follows:

$\begin{matrix} {V_{ij} = {\begin{bmatrix} V_{ijxx} & V_{ijxy} & V_{ijxz} \\ V_{ijyx} & V_{ijyy} & V_{ijyz} \\ V_{ijzx} & V_{ijzy} & V_{ijzz} \end{bmatrix} = {{I_{i}Z_{ij}} = {\begin{bmatrix} I_{ix} & 0 & 0 \\ 0 & I_{iy} & 0 \\ 0 & 0 & I_{iz} \end{bmatrix}\begin{bmatrix} Z_{ijxx} & Z_{ijxy} & Z_{ijxz} \\ Z_{ijyx} & Z_{ijyy} & Z_{ijyz} \\ Z_{ijzx} & Z_{ijzy} & Z_{ijzz} \end{bmatrix}}}}} & (1) \end{matrix}$

where V_(ij) represent the three-dimensional matrix of measured voltages, with i indicating the corresponding transmitter triad (e.g., T1 or T2) and j indicating the corresponding receiver triad (e.g., R1 or R2), I_(i) represent the transmitter currents, and Z_(ij) represent the transfer impedances which depend on the electrical and magnetic properties of the environment surrounding the antenna pair in addition to the frequency, geometry, and spacing of the antennas. The third and fourth subscripts indicate the axial orientation of the transmitter and receiver antennas. For example, V_(12xy) represents a voltage measurement on the y-axis antenna of receiver R2 from a firing of the x-axis antenna of transmitter T1.

When bending of the measurement tool is negligible (e.g., less than about 10 degrees), the measured voltages may be modeled mathematically, for example, as follows: V _(ij) =G _(Ti) m _(Ti) ^(t) R _(θ) ^(t) Z _(ij) R _(θ) m _(Rj) G _(Rj)  (2)

where Z₁₁ are matrices representing the triaxial tensor couplings (impedances) between the locations of transmitter i and receiver j, G_(Ti) and G_(Rj) are diagonal matrices representing the transmitter and receiver gains, R_(θ) represents the rotation matrix about the z-axis through angle θ, m_(Ti) and m_(Rj) represent the matrices of the direction cosines for the transmitter and receiver moments at θ=0, and the superscript t represents the transpose of the corresponding matrix. The matrices in Equation 2 may be given, for example, as follows:

$\begin{matrix} {Z_{ij} = \begin{bmatrix} Z_{ijxx} & Z_{ijxy} & Z_{ijxz} \\ Z_{ijyx} & Z_{ijyy} & Z_{ijyz} \\ Z_{ijzx} & Z_{ijzy} & Z_{ijzz} \end{bmatrix}} & (3) \\ {G_{Ti} = \begin{bmatrix} g_{Tix} & 0 & 0 \\ 0 & g_{Tiy} & 0 \\ 0 & 0 & g_{Tiz} \end{bmatrix}} & (4) \\ {G_{Rj} = \begin{bmatrix} g_{Rjx} & 0 & 0 \\ 0 & g_{Rjy} & 0 \\ 0 & 0 & g_{Rjz} \end{bmatrix}} & (5) \\ {R_{\theta} = \begin{bmatrix} {\cos(\theta)} & {- {\sin(\theta)}} & 0 \\ {\sin(\theta)} & {\cos(\theta)} & 0 \\ 0 & 0 & 1 \end{bmatrix}} & (6) \end{matrix}$

Using the T1 x antenna direction as a reference direction, the matrices of the direction cosines of the transmitter and receiver moments may be given, for example, as follows: m _(Ti) =I m _(R1) =R _(α) m _(R2) =R _(γ) R _(α) m _(T2) =R _(γ)  (7)

where I represents the identity matrix, R_(α) represents the rotation matrix about the z-axis through the angle α, and R_(γ) represents the rotation matrix about the z-axis through the angle γ.

Substituting Equation 7 into Equation 2 yields the following mathematical expressions: V ₁₁ =G _(T1)(R _(θ) ^(t) Z ₁₁ R _(θ))R _(α) G _(R1) V ₁₂ =G _(T1)(R _(θ) ^(t) Z ₁₂ R _(θ))R _(γ) R _(α) G _(R2) V ₂₁ =G _(T2) R _(γ) ^(t)(R _(γ) ^(t) Z ₂₁ R _(θ))R _(α) G _(R1) V ₂₂ =G _(T2) R _(γ) ^(t)(R _(θ) ^(t) Z ₂₂ R _(θ))R _(γ) R _(α) G _(R2)  (8)

The rotated tensor couplings (shown in the parentheses in Equation 8) may be expressed mathematically in harmonic form, for example, as follows: R _(θ) ^(t) Z _(ij) R _(θ) =Z _(DC) _(_) _(ij) +Z _(FHC) _(_) _(ij) cos(θ)+Z _(FHS) _(_) _(ij) sin(θ)+Z _(SHC) _(_) _(ij) cos(2θ)+Z _(SHS) _(_) _(ij) sin(2θ)  (9)

where Z_(DC) _(_) _(ij) represents a DC (average) coupling coefficient, Z_(FHC) _(_) _(ij) and Z_(FHS) _(_) _(ij) represent first order harmonic cosine and first order harmonic sine coefficients (referred to herein as first harmonic cosine and first harmonic sine coefficients), and Z_(SHC) _(_) _(ij) and Z_(SHS) _(_) _(ij) represent second order harmonic cosine and second order harmonic sine coefficients (referred to herein as second harmonic cosine and second harmonic sine coefficients) of the couplings. These coefficients are shown below:

$\begin{matrix} {{Z_{DC\_ ij} = \begin{bmatrix} \frac{Z_{ijxx} + Z_{ijyy}}{2} & \frac{\left( {Z_{ijxy} + Z_{ijyx}} \right)}{2} & 0 \\ {- \frac{\left( {Z_{ijxy} - Z_{ijyx}} \right)}{2}} & \frac{Z_{ijxx} + Z_{ijyy}}{2} & 0 \\ 0 & 0 & Z_{ijzz} \end{bmatrix}}{Z_{FHC\_ ij} = \begin{bmatrix} 0 & 0 & Z_{ijxz} \\ 0 & 0 & Z_{ijyz} \\ Z_{ijzx} & Z_{ijzy} & 0 \end{bmatrix}}{Z_{FHS\_ ij} = \begin{bmatrix} 0 & 0 & Z_{ijyz} \\ 0 & 0 & {- Z_{ijxz}} \\ Z_{ijzy} & {- Z_{ijzx}} & 0 \end{bmatrix}}{Z_{{SHC}{\_ ij}} = \begin{bmatrix} \frac{Z_{ijxx} - Z_{ijyy}}{2} & \frac{\left( {Z_{ijxy} + Z_{ijyx}} \right)}{2} & 0 \\ \frac{\left( {Z_{ijxy} + Z_{ijyx}} \right)}{2} & {- \frac{\left( {Z_{ijxx} - Z_{ijyy}} \right)}{2}} & 0 \\ 0 & 0 & 0 \end{bmatrix}}{Z_{{SHS}_{ij}} = \begin{bmatrix} \frac{\left( {Z_{ijxy} + Z_{ijyx}} \right)}{2} & {- \frac{\left( {Z_{ijxx} - Z_{ijyy}} \right)}{2}} & 0 \\ {- \frac{\left( {Z_{ijxx} - Z_{ijyy}} \right)}{2}} & {- \frac{\left( {Z_{ijxy} + Z_{ijyx}} \right)}{2}} & 0 \\ 0 & 0 & 0 \end{bmatrix}}} & (10) \end{matrix}$

As stated above, the receiver antenna voltages are measured at 120 while the tool rotates at 100 (FIGS. 3A and 3B). Following the form of Equation 9, the measured voltages may be expressed mathematically in terms of their harmonic voltage coefficients, for example, as follows thereby enabling the harmonic coefficients to be obtained (e.g., at 122 in FIG. 3B): V _(ij) =V _(DC) _(_) _(ij) +V _(FHC) _(_) _(ij) cos(θ)+V _(FHS) _(_) _(ij) sin(θ)+V _(SHC) _(_) _(ij) cos(2θ)+V _(SHS) _(_) _(ij) sin(2θ)  (11)

Following Equation 2, the DC, first harmonic, and second harmonic voltage coefficients may be modeled, for example, as follows: V _(DC) _(_) _(ij) =G _(Ti) m _(Ti) ^(t) Z _(DC) _(_) _(ij) m _(Rj) G _(Rj) V _(FHC) _(_) _(ij) =G _(Ti) m _(Ti) ^(t) Z _(FHC) _(_) _(ij) m _(Rj) G _(Rj) V _(FHS) _(_) _(ij) =G _(Ti) m _(Ti) ^(t) Z _(FHS) _(_) _(ij) m _(Rj) G _(Rj) V _(SHC) _(_) _(ij) =G _(Ti) m _(Ti) ^(t) Z _(SHC) _(_) _(ij) m _(Rj) G _(Rj) V _(SHS) _(_) _(ij) =G _(Ti) m _(Ti) ^(t) Z _(SHS) _(_) _(ij) m _(Rj) G _(Rj)  (12)

In one disclosed embodiment gain compensation may be accomplished by obtaining ratios between the x and y and receiver gains and the x and y transmitter gains (e.g., at 124 in FIG. 3B). The DC voltage measurements at receiver R1 upon firing transmitter T1 may be expressed as follows:

$\begin{matrix} {V_{{DC\_}11} = \begin{bmatrix} V_{{DC\_}11\;{xx}} & V_{{DC\_}11\;{xy}} & V_{{DC\_}11\;{xz}} \\ V_{{DC\_}11\;{yx}} & V_{{DC\_}11\;{yy}} & V_{{DC\_}11\;{yz}} \\ V_{{DC\_}11\;{zx}} & V_{{DC\_}11\;{zy}} & V_{{DC\_}11\;{zz}} \end{bmatrix}} & (13) \end{matrix}$

From Equations 10 and 12, the measured DC voltages V_(DC) _(_) ₁₁ may be expressed as a function of the couplings (impedances), gains, and the angle α, for example, as follows:

$\begin{matrix} \begin{bmatrix} {g_{T\; 1\; x}{g_{R\; 1\; x}\left\lbrack {{\frac{\left( {Z_{11\;{xx}} + Z_{11\;{yy}}} \right)}{2}{\cos(\alpha)}} + {\frac{\left( {Z_{11\;{xy}} - Z_{11\;{yx}}} \right)}{2}{\sin(\alpha)}}} \right\rbrack}} & {g_{T\; 1\; x}{g_{R\; 1\; y}\left\lbrack {{\frac{\left( {Z_{11\;{xy}} - Z_{11\;{yx}}} \right)}{2}{\cos(\alpha)}} - {\frac{\left( {Z_{11\;{xx}} + Z_{11\;{yy}}} \right)}{2}{\sin(\alpha)}}} \right\rbrack}} & 0 \\ {{- g_{T\; 1\; y}}{g_{R\; 1\; x}\left\lbrack {{\frac{\left( {Z_{11\;{xy}} - Z_{11\;{yx}}} \right)}{2}{\sin(\alpha)}} - {\frac{\left( {Z_{11\;{xx}} + Z_{11\;{yy}}} \right)}{2}{\cos(\alpha)}}} \right\rbrack}} & {g_{T\; 1\; y}{g_{R\; 1\; y}\left\lbrack {{\frac{\left( {Z_{11\;{xx}} + Z_{11\;{yy}}} \right)}{2}{\cos(\alpha)}} + {\frac{\left( {Z_{11\;{xy}} - Z_{11\;{yx}}} \right)}{2}{\sin(\alpha)}}} \right\rbrack}} & 0 \\ 0 & 0 & {g_{T\; 1\; z}g_{T\; 1\; z}z_{11\;{zz}}} \end{bmatrix} & (14) \end{matrix}$

Taking the ratio between the DC xx and yy voltage measurements yields:

$\begin{matrix} {\frac{V_{{DC\_}11\;{xx}}}{V_{{DC\_}11\;{yy}}} = {\frac{g_{R\; 1\; x}}{g_{R\; 1\; y}}\frac{g_{T\; 1\; x}}{g_{T\; 1\; y}}}} & (15) \end{matrix}$

Likewise, taking the ratio between the DC voltage xy and yx measurements yields:

$\begin{matrix} {\frac{V_{D\; C\;\_ 11{xy}}}{V_{D\;{C\_}11{yx}}} = {{- \frac{g_{R\; 1y}}{g_{R\; 1x}}}\frac{g_{T\; 1x}}{g_{T\; 1y}}}} & (16) \end{matrix}$

where g_(R1x) and g_(R1y) represent the gains of the x and y antenna on receiver R1 and g_(T1x) and g_(T1y) represent the gains of the x and y antenna on transmitter T1. Equations 15 and 16 may be combined to obtain measured quantities that are equivalent to a gain ratio of the x and y receiver and a gain ratio of the x and y transmitter, for example, as follows:

$\begin{matrix} {{{{gR}\; 1}\overset{def}{=}{\sqrt{{- \frac{V_{D\; C_{11{xx}}}}{V_{D\; C_{11{yy}}}}}\frac{V_{D\; C_{11{yx}}}}{V_{D\; C_{11\;{xy}}}}} = \frac{g_{R\; 1x}}{g_{R\; 1y}}}}{{{gT}\; 1}\overset{def}{=}{\sqrt{{- \frac{V_{D\;{C\_}11{xx}}}{V_{D\;{C\_}11{yy}}}}\frac{V_{D\;{C\_}\; 11{xy}}}{V_{D\; C\;\_ 11{yx}}}} = \frac{g_{T\; 1x}}{g_{T\; 1y}}}}} & (17) \end{matrix}$

Since the gain ratio formulas in Equation 17 involve taking a square root, there may be a 180 degree phase ambiguity (i.e., a sign ambiguity). As such, the gain ratios may not be arbitrary, but should be controlled such that they are less than 180 degrees. For un-tuned receiving antennas, the electronic and antenna gain/phase mismatch (assuming the antenna wires are not flipped from one receiver to another) may generally be controlled to within about 30 degrees (particularly at the lower frequencies used for deep measurements). This is well within 180 degrees (even at elevated temperatures where the mismatch may be at its greatest). For tuned transmitting antennas, however, the phase may change signs (i.e., jump by 180 degrees) if the drift in the antenna tuning moves across the tuning resonance. Such transmitter phase ratio ambiguity (sign ambiguity) may be resolved, for example, using Equations 15 and 16 and the knowledge that the receiver gain/phase ratio is not arbitrary, but limited to about 30 degrees (i.e. to enable the determination of whether the transmitter phase difference is closer to 0 or 180 degrees).

The x and y gain ratios defined in Equation 17 enable the following gain ratio matrices to be defined (e.g., at 124 in FIG. 3B):

$\begin{matrix} {{G_{R\; 1\_\;{ratio}}\overset{def}{=}{\begin{bmatrix} 1 & 0 & 0 \\ 0 & {{gR}\; 1} & 0 \\ 0 & 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & \frac{g_{R\; 1x}}{g_{R\; 1y}} & 0 \\ 0 & 0 & 1 \end{bmatrix}}}{G_{T\; 1\_\;{ratio}}\overset{def}{=}{\begin{bmatrix} 1 & 0 & 0 \\ 0 & {{gT}\; 1} & 0 \\ 0 & 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & \frac{g_{T\; 1x}}{g_{T\; 1y}} & 0 \\ 0 & 0 & 1 \end{bmatrix}}}} & (18) \end{matrix}$

where G_(R1) _(_) _(ratio) represents the gain ratio matrix for receiver R1 and G_(T1) _(_) _(ratio) represents the gain ratio matrix for transmitter T1. Similar gain ratio matrices may be obtained for receiver R2 and transmitter T2.

Applying these gain ratios to the measured voltages (shown in Equation 14) enables the y transmitter and y receiver gains to be replaced by x transmitter and x receiver gains (e.g., at 126 in FIG. 3B). The voltage measurements may then be rotated mathematically (e.g., at 130 in FIG. 3B) to simulate rotation of the x and y antennas in the R1 and R2 receivers and the T2 transmitter such that they are rotationally aligned with the x and y antennas in the T1 transmitter. Such rotation removes the effect of the offset angle α and misalignment angle γ on the measurements. For example, the DC voltages measured between T1 and R1 may be back rotated by the measured alignment angle between T1 and R1 αm. The alignment angle may be measured using substantially any technique, for example, including a physical caliper measurement, and is referred to as αm to indicate that it is a measured value. This process may be represented mathematically, for example, as follows:

                                           (19) $V_{D\; C\;\_ 11\_\;{rot}}\overset{def}{=}{{G_{T\; 1\_\;{ratio}}V_{D\; C\;\_ 11}G_{R\; 1\_\;{ratio}}R_{\alpha\; m}^{t}} = {\quad\begin{bmatrix} {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xx}} + z_{11{yy}}} \right)}{2}} & {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xy}} - z_{11{yx}}} \right)}{2}} & 0 \\ {{- g_{T\; 1x}}g_{R\; 1x}\frac{\left( {z_{11{xy}} - z_{11{yx}}} \right)}{2}} & {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xx}} + z_{11{yy}}} \right)}{2}} & 0 \\ 0 & 0 & {g_{T\; 1z}g_{R\; 1z}Z_{11{zz}}} \end{bmatrix}}}$

where V_(DC) _(_) ₁₁ _(_) _(rot) represent the rotated DC voltage coefficients. It will be understood that rotation about the z-axis does not change the value of the DC coefficient (see Equation 9) and that Equation 19 may be expressed identically as: V_(DC) _(_) ₁₁ _(_) _(rot)

G_(T1) _(_) _(ratio)V_(DC) _(_) ₁₁G_(R1) _(_) _(ratio). Notwithstanding, in the description that follows, the DC coefficients are shown to be rotated to be consistent with the first harmonic and second harmonic coefficients.

The first harmonic cosine coefficients may be similarly rotated to obtain rotated first harmonic cosine coefficients, for example, as follows:

$\begin{matrix} \begin{matrix} {V_{{FHC}\;\_ 11\_\;{rot}}\overset{def}{=}{G_{T\; 1\_\;{ratio}}V_{{FHC}\;\_ 11}G_{R\; 1\_\;{ratio}}R_{\alpha\; m}^{t}}} \\ {= {\quad\begin{bmatrix} 0 & 0 & {g_{T\; 1x}g_{R\; 1z}Z_{11{xz}}} \\ 0 & 0 & {g_{T\; 1x}g_{R\; 1z}Z_{11{yz}}} \\ {g_{T\; 1z}g_{R\; 1x}Z_{11{zx}}} & {g_{T\; 1z}g_{R\; 1x}Z_{11{zy}}} & 0 \end{bmatrix}}} \end{matrix} & (20) \end{matrix}$

where V_(FHC) _(_) ₁₁ _(_) _(rot) represent the rotated first harmonic cosine voltage coefficients. The first harmonic cosine coefficients may be similarly rotated by αm plus an additional 90 degree back rotation to obtain rotated first harmonic sine coefficients, for example, as follows:

$\begin{matrix} {\quad\begin{matrix} {V_{{FHS}\;\_ 11\_\;{rot}}\overset{def}{=}{R_{90}G_{T\; 1\_\;{ratio}}V_{{FHS}\;\_ 11}G_{R\; 1\_\;{ratio}}R_{\alpha\; m}^{t}R_{90}^{t}}} \\ {= \begin{bmatrix} 0 & 0 & {g_{T\; 1x}g_{R\; 1z}Z_{11{xz}}} \\ 0 & 0 & {g_{T\; 1x}g_{R\; 1z}Z_{11{yz}}} \\ {g_{T\; 1z}g_{R\; 1x}Z_{11{zx}}} & {g_{T\; 1z}g_{R\; 1x}Z_{11{zy}}} & 0 \end{bmatrix}} \end{matrix}} & (21) \end{matrix}$

where V_(FHS) _(_) ₁₁ _(_) _(rot) represent the rotated first harmonic sine voltage coefficients. The second harmonic cosine coefficients may be rotated similarly to the first harmonic cosine coefficients to obtain rotated second harmonic cosine coefficients, for example, as follows:

$\begin{matrix} \begin{matrix} {V_{{SHC}\;\_ 11\_\;{rot}}\overset{def}{=}{G_{T\; 1\_\;{ratio}}V_{{SHC}\;\_ 11}G_{R\; 1\_\;{ratio}}R_{\alpha\; m}^{t}}} \\ {= {\quad\begin{bmatrix} {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xx}} - z_{11{yy}}} \right)}{2}} & {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xy}} + z_{11{yx}}} \right)}{2}} & 0 \\ {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xy}} + z_{11{yx}}} \right)}{2}} & {{- g_{T\; 1x}}g_{R\; 1x}\frac{\left( {z_{11{xx}} - z_{11{yy}}} \right)}{2}} & 0 \\ 0 & 0 & 0 \end{bmatrix}}} \end{matrix} & (22) \end{matrix}$

where V_(SHC) _(_) ₁₁ _(_) _(rot) represent the rotated second harmonic cosine voltage coefficients. The second harmonic cosine coefficients may be similarly rotated by αm plus an additional 45 degree back rotation to obtain rotated second harmonic sine coefficients, for example, as follows:

$\begin{matrix} \begin{matrix} {V_{{SHS}\;\_ 11\_\;{rot}}\overset{def}{=}{R_{45}G_{T\; 1\_\;{ratio}}V_{{SHS}\;\_ 11}G_{R\; 1\_\;{ratio}}R_{\alpha\; m}^{t}R_{45}^{t}}} \\ {= {\quad\begin{bmatrix} {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xx}} - z_{11{yy}}} \right)}{2}} & {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xy}} + z_{11{yx}}} \right)}{2}} & 0 \\ {g_{T\; 1x}g_{R\; 1x}\frac{\left( {z_{11{xy}} + z_{11{yx}}} \right)}{2}} & {{- g_{T\; 1x}}g_{R\; 1x}\frac{\left( {z_{11{xx}} - z_{11{yy}}} \right)}{2}} & 0 \\ 0 & 0 & 0 \end{bmatrix}}} \end{matrix} & (23) \end{matrix}$

where V_(SHS) _(_) ₁₁ _(_) _(rot) represent the rotated second harmonic sine voltage coefficients. The voltage measurements for other transmitter receiver combinations may also be similarly rotated. For example, the voltage measurements on receiver R2 obtained upon firing transmitter T1 may be back rotated by both αm and the measured alignment mismatch between the first and second subs γm (as though receiver R2 were back rotated with respect to transmitter T1 by αm and γm). The misalignment angle between the subs may be measured using substantially any technique. For example, the misalignment angle may be taken to be the difference between magnetic toolface angles measured at each of the subs, and is referred to as γm to indicate that it is a measured value. The T1-R2 voltage measurements may be given, for example, as follows: V _(DC) _(_) ₁₂ _(_) _(rot)

G _(T1) _(_) _(ratio) V _(DC) _(_) ₁₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R _(γm) ^(t) V _(FHC) _(_) ₁₂ _(_) _(rot)

G _(T1) _(_) _(ratio) V _(FHC) _(_) ₁₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R _(γm) ^(t) V _(FHS) _(_) ₁₂ _(_) _(rot)

R ₉₀ G _(T1) _(_) _(ratio) V _(FHS) _(_) ₁₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R ₉₀ R _(γm) ^(t) V _(SHC) _(_) ₁₂ _(_) _(rot)

G _(T1) _(_) _(ratio) V _(SHC) _(_) ₁₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R _(γm) ^(t) V _(SHS) _(_) ₁₂ _(_) _(rot)

R ₄₅ G _(T1) _(_) _(ratio) V _(SHS) _(_) ₁₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R ₄₅ R _(γm) ^(t)  (24)

The voltage measurements on receiver R1 obtained upon firing transmitter T2 may also be rotated (in this case as though receiver R1 were back rotated with respect to transmitter T1 by αm and transmitter T2 were back rotated with respect to transmitter T1 by γm). V _(DC) _(_) ₂₁ _(_) _(rot)

R _(γm) G _(T2) _(_) _(ratio) V _(DC) _(_) ₂₁ G _(R1) _(_) _(ratio) R _(αm) ^(t) V _(FHC) _(_) ₂₁ _(_) _(rot)

R _(γm) G _(T2) _(_) _(ratio) V _(FHC) _(_) ₂₁ G _(R1) _(_) _(ratio) R _(αm) ^(t) V _(FHS) _(_) ₂₁ _(_) _(rot)

R _(γm) R ₉₀ G _(T2) _(_) _(ratio) V _(FHS) _(_) ₂₁ G _(R1) _(_) _(ratio) R _(αm) ^(t) R ₉₀ V _(SHC) _(_) ₂₁ _(_) _(rot)

R _(γm) G _(T2) _(_) _(ratio) V _(SHC) _(_) ₂₁ G _(R1) _(_) _(ratio) R _(αm) ^(t) V _(SHS) _(_) ₂₁ _(_) _(rot)

R _(γm) R ₄₅ G _(T2) _(_) _(ratio) V _(SHS) _(_) ₂₁ G _(R1) _(_) _(ratio) R _(αm) ^(t) R ₄₅ ^(t)  (25)

The voltage measurements on receiver R2 obtained upon firing transmitter T2 may also be rotated (in this case as though receiver R2 were back rotated with respect to transmitter T1 by αm and γm and transmitter T2 were back rotated with respect to transmitter T1 by γm). V _(DC) _(_) ₂₂ _(_) _(rot)

R _(γm) G _(T2) _(_) _(ratio) V _(DC) _(_) ₂₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R _(γm) ^(t) V _(FHC) _(_) ₂₂ _(_) _(rot)

R _(γm) G _(T2) _(_) _(ratio) V _(FHC) _(_) ₂₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R _(γm) ^(t) V _(FHS) _(_) ₂₂ _(_) _(rot)

R _(γm) R ₉₀ G _(T2) _(_) _(ratio) V _(FHS) _(_) ₂₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R ₉₀ ^(t) R _(γm) V _(SHC) _(_) ₂₂ _(_) _(rot)

R _(γm) G _(T2) _(_) _(ratio) V _(SHC) _(_) ₂₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R _(γm) ^(t) V _(SHS) _(_) ₂₂ _(_) _(rot)

R _(γm) R ₄₅ G _(T2) _(_) _(ratio) V _(SHS) _(_) ₂₂ G _(R2) _(_) _(ratio) R _(αm) ^(t) R ₄₅ ^(t) R _(γm) ^(t)  (26)

The rotated voltage measurements presented in Equations 19-26 may be combined in various combinations to obtain a large number of compensated measurements (e.g., at 130 in FIG. 3A). Selected ones of these compensated measurements are presented below. For example, compensated quantities RCXX and RCYY equivalent to the xx and yy direct coupling impedances (also referred to herein as the xx and yy couplings) may be obtained as follows:

$\begin{matrix} {{RCXX} = {\sqrt{\frac{\left( {V_{D\; C\;\_ 12{xx}\;\_\;{rot}} + V_{{SHC}\;\_ 12{xx}\;\_\;{rot}}} \right)\left( {V_{D\; C\;\_ 21{xx}\;\_\;{rot}} + V_{{SHC}\;\_ 21{xx}\;\_\;{rot}}} \right)}{\left( {V_{D\; C\;\_ 11{xx}\;\_\;{rot}} + V_{{SHC}\;\_ 11{xx}\;\_\;{rot}}} \right)\left( {V_{D\; C\;\_ 22{xx}\;\_\;{rot}} + V_{{SHC}\;\_ 22{xx}\;\_\;{rot}}} \right)}} = \sqrt{\frac{Z_{12{xx}}Z_{21{xx}}}{Z_{11{xx}}Z_{11{xx}}}}}} & (27) \\ {{RCYY} = {\sqrt{\frac{\left( {V_{D\; C\;\_ 12{yy}\;\_\;{rot}} + V_{{SHC}\;\_ 12{yy}\;\_\;{rot}}} \right)\left( {V_{D\; C\;\_ 21{yy}\;\_\;{rot}} + V_{{SHC}\;\_ 21{yy}\;\_\;{rot}}} \right)}{\left( {V_{D\; C\;\_ 11{yy}\;\_\;{rot}} + V_{{SHC}\;\_ 11{yy}\;\_\;{rot}}} \right)\left( {V_{D\; C\;\_ 22{yy}\;\_\;{rot}} + V_{{SHC}\;\_ 22{yy}\;\_\;{rot}}} \right)}} = \sqrt{\frac{Z_{12{yy}}Z_{21{yy}}}{Z_{11{yy}}Z_{11{yy}}}}}} & (28) \end{matrix}$

Compensated quantities RCXY and RCYX equivalent to the xy and yx cross coupling impedances (also referred to herein as the xy and yx couplings) may be obtained, for example, as follows:

$\begin{matrix} {{RCXYij} = {\frac{V_{{SHS}\;\_\;{ijxy}\;\_\;{rot}} + V_{D\; C\;\_\;{ijxy}\;\_\;{rot}}}{2 \cdot V_{D\; C\;\_\;{ijxx}\;\_\;{rot}}} = \frac{z_{ijxy}}{\left( {z_{ijxx} + z_{ijyy}} \right)}}} & (29) \\ {{RCYXij} = {\frac{V_{{SHS}\;\_\;{ijxy}\;\_\;{rot}} - V_{D\; C\;\_\;{ijxy}\;\_\;{rot}}}{2 \cdot V_{D\; C\;\_\;{ijxx}\;\_\;{rot}}} = \frac{z_{ijyx}}{\left( {z_{ijxx} + z_{ijyy}} \right)}}} & (30) \end{matrix}$

Compensated quantities RCXZ and RCYZ which are related to the xz and zx cross coupling impedances and the yz and zy cross coupling impedances (also referred to herein as the xz, zx, yz, and zy couplings) may be obtained, for example, as follows:

$\begin{matrix} {{RCXZij} = {\sqrt{\frac{V_{{FHC}\;\_\;{ijxz}\;\_\;{rot}} \cdot V_{{FHC}\;\_\;{ijzx}\;\_\;{rot}}}{V_{D\; C\;\_\;{ijxx}\;\_\;{rot}} \cdot V_{D\; C\;\_\;{ijzz}\;\_\;{rot}}}} = \sqrt{\frac{{2 \cdot \; Z_{ijxz}}Z_{ijzx}}{\left( {Z_{ijxx} + Z_{ijyy}} \right)z_{ijzx}}}}} & (31) \\ {{RCYZij} = {\sqrt{\frac{V_{{FHC}\;\_\;{ijyz}\;\_\;{rot}} + V_{{FHC}\;\_\;{ijzy}\;\_\;{rot}}}{V_{D\; C\;\_\;{ijyy\_}\;{rot}} + V_{D\; C\;\_\;{ijzz}\;\_\;{rot}}}} = \sqrt{\frac{{2 \cdot \; Z_{ijxz}}Z_{ijzx}}{\left( {Z_{ijxx} + Z_{ijyy}} \right)Z_{ijzx}}}}} & (32) \end{matrix}$

For each transmitter receiver combination the above described rotated voltage coefficients (Equations 19-26) may also be combined to improve signal to noise ratio (e.g., at 142 in FIG. 3B). For example, the following combinations may be obtained:

$\begin{matrix} {{XXplusYY}_{ij}\overset{def}{=}{\frac{V_{D\; C_{{ijxx}\;\_\;{rot}}} + V_{D\; C_{{ijyy}\;\_\;{rot}}}}{2} = {g_{Tix}g_{Rjx}\frac{\left( {Z_{ijxx} + Z_{ijyy}} \right)}{2}}}} & (33) \\ {{XYminusYX}_{ij}\overset{def}{=}{\frac{V_{D\; C_{{ijxy}\;\_\;{rot}}} - V_{D\; C_{{ijyx}\;\_\;{rot}}}}{2} = {g_{Tix}g_{Rjx}\frac{\left( {Z_{ijxy} - Z_{ijyx}} \right)}{2}}}} & (34) \\ {{XXminusYY}_{ij}\overset{def}{=}{\frac{V_{{SHC}_{{ijxx}\;\_\;{rot}}} - V_{{SHC}_{{ijyy}\;\_\;{rot}}} + V_{{SHS}_{{ijxx}\;\_\;{rot}}} - V_{{SHS}_{{ijyy}\;\_\;{rot}}}}{4} = {g_{Tix}g_{Rjx}\frac{\left( {z_{ijxx} - z_{ijyy}} \right)}{2}}}} & (35) \\ {{XYplusYX}_{ij}\overset{def}{=}{\frac{V_{{SHC}_{{ijxy}\;\_\;{rot}}} + V_{{SHC}_{{ijyx}\;\_\;{rot}}} + V_{{SHS}_{{ijxy}\;\_\;{rot}}} + V_{{SHS}_{{ijyx}\;\_\;{rot}}}}{4} = {g_{Tix}g_{Rjx}\frac{\left( {z_{ijxy} + z_{ijyx}} \right)}{2}}}} & (36) \\ {\mspace{79mu}{{XZ}_{ij}\overset{def}{=}{\frac{V_{{FHC}_{{ijxz}\;\_\;{rot}}} + V_{{FHS}_{{ijxz}\;\_\;{rot}}}}{2} = {g_{Tix}g_{Rjz}Z_{ijxz}}}}} & (37) \\ {\mspace{79mu}{{YZ}_{ij}\overset{def}{=}{\frac{V_{{FHC}_{{ijyz}\;\_\;{rot}}} + V_{{FHS}_{{ijyz}\;\_\;{rot}}}}{2} = {g_{Tix}g_{Rjz}Z_{ijyz}}}}} & (38) \\ {\mspace{79mu}{{ZX}_{ij}\overset{def}{=}{\frac{V_{{FHC}_{{ijzx}\;\_\;{rot}}} + V_{{FHS}_{{ijzx}\;\_\;{rot}}}}{2} = {g_{Tiz}g_{Rjx}Z_{ijzx}}}}} & (39) \\ {\mspace{79mu}{{ZY}_{ij}\overset{def}{=}{\frac{V_{{FHC}_{{ijzy}\;\_\;{rot}}} + V_{{FHS}_{{ijzy}\;\_\;{rot}}}}{2} = {g_{Tiz}g_{Rjx}Z_{ijzy}}}}} & (40) \end{matrix}$

The measurement equivalent to the zz coupling does not required rotation and may be expressed, for example, as follows: ZZ _(ij)

V _(DC) _(ijzz) =g _(Tiz) g _(RjZ) Z _(ijzz)  (41)

The combined measurements in Equations 33 through 41 may be further combined to fully compensate the transmitter and receiver gains (e.g., at 144 in FIG. 3B). A compensated measurement equivalent to the sum of the xx and yy couplings may be given, for example, as follows:

$\begin{matrix} {{CXXplusYY} = {\sqrt{\frac{{XXplusYY}_{12}{XXplusYY}_{21}}{{XXplusYY}_{11}{XXplusYY}_{22}}} = \sqrt{\frac{\left( {Z_{12{xx}} + Z_{12{yy}}} \right)\left( {Z_{21{xx}} + Z_{21{yy}}} \right)}{\left( {Z_{11{xx}} + Z_{11{yy}}} \right)\left( {Z_{22{xx}} + Z_{22{yy}}} \right)}}}} & (42) \end{matrix}$

where CXXplusYY represents a compensated measurement equivalent to the xx+yy coupling and XXplusYY_(ij) is defined in Equation 33. A phase shift and attenuation for this quantity may be computed, for example, as follows:

$\begin{matrix} {{{XXplusYY\_ CPS} = {\frac{180}{\pi}{{angle}({CXXplusYY})}}}{{XXplusYY\_ CAD} = {20\mspace{11mu}\log\; 10({CXXplusYY})}}} & (43) \end{matrix}$

where XXplusYY_CPS and XXplusYY_CAD represent the compensated phase shift and attenuation of the xx+yy coupling.

Compensated measurements equivalent to the xx and/or yy couplings may be constructed by combining the xx+yy measurements with the xx-yy measurements, for example, as follows:

$\begin{matrix} {{CXX} = {\sqrt{\frac{\left( {{XXplusYY}_{12} + {XXminusYY}_{12}} \right)\left( {{XXplusYY}_{21} + {XXminusYY}_{21}} \right)}{\left( {{XXplusYY}_{11} + {XXminusYY}_{11}} \right)\left( {{XXplusYY}_{22} + {XXminusYY}_{22}} \right)}} = \sqrt{\frac{Z_{12{xx}}Z_{21{xx}}}{Z_{11{xx}}Z_{22{xx}}}}}} & (44) \\ {{CYY} = {\sqrt{\frac{\left( {{XXplusYY}_{12} - {XXminusYY}_{12}} \right)\left( {{XXplusYY}_{21} - {XXminusYY}_{21}} \right)}{\left( {{XXplusYY}_{11} - {XXminusYY}_{11}} \right)\left( {{XXplusYY}_{22} - {XXminusYY}_{22}} \right)}} = \sqrt{\frac{Z_{12{yy}}Z_{21{yy}}}{Z_{11{yy}}Z_{22{yy}}}}}} & (45) \end{matrix}$

where CXX and CYY represent compensated measurements equivalent to the xx and yy couplings and XXplusYY_(ij) and XXminusYY_(ij) are defined in Equations 33 and 35. Phase shift and attenuation for these quantities may be computed as described above with respect to Equation 43.

Compensated measurements sensitive to a sum of the xy and yx couplings may be computed in a similar manner using the second harmonic cosine and the DC coefficients, for example, as follows:

$\begin{matrix} {{CXYplusYX} = {\sqrt{\frac{{XYplusYX}_{12}{XYplusYX}_{21}}{{XXplusYY}_{11}{XXplusYY}_{22}}} = \sqrt{\frac{\left( {Z_{12{xy}} + Z_{12{yx}}} \right)\left( {Z_{21{xy}} + Z_{21{yx}}} \right)}{\left( {Z_{11{xx}} + Z_{11{yy}}} \right)\left( {Z_{22{xx}} + Z_{22{yy}}} \right)}}}} & (46) \end{matrix}$

where CXYplusYX represents the compensated measurement and XYplusYX_(ij) is defined in Equation 36. A compensated measurement sensitive to a difference between the xy and yx couplings may similarly be computed.

$\begin{matrix} {{CXYminusYX} = {\sqrt{\frac{{XYminusYX}_{12}{XYminusYX}_{21}}{{XXplusYY}_{11}{XXplusYY}_{22}}} = \sqrt{\frac{\left( {Z_{12{xy}} - Z_{12{yx}}} \right)\left( {Z_{21{xy}} - Z_{21{yx}}} \right)}{\left( {Z_{11{xx}} + Z_{11{yy}}} \right)\left( {Z_{22{xx}} + Z_{22{yy}}} \right)}}}} & (47) \end{matrix}$

where CXYminusYX represents the compensated measurement and XXplusYY_(ij) and XYminusYX_(ij) and are defined in Equations 33 and 34. A compensated measurement sensitive to a difference between the xx and yy couplings may further be computed:

$\begin{matrix} {{CXXminusYY} = {\sqrt{\frac{{XXminusYY}_{12}{XXminusYY}_{21}}{{XXplusYY}_{11}{XXplusYY}_{22}}} = \sqrt{\frac{\left( {Z_{12{xx}} - Z_{12{yy}}} \right)\left( {Z_{21{xx}} - Z_{21{yy}}} \right)}{\left( {Z_{11{xx}} + Z_{11{yy}}} \right)\left( {Z_{22{xx}} + Z_{22{yy}}} \right)}}}} & (48) \end{matrix}$

where CXXminusYY represents the compensated quantity and XXplusYY₁₁ and XXminusYY₁₂ are defined in Equations 33 and 35.

Since the quantities in Equations 46, 47, and 48 may be equal to zero in simple formations, the phase shift and attenuation may be computed by adding one to the compensated quantity, for example, as follows:

$\begin{matrix} {{{XYplusYX\_ CPS} = {\frac{180}{\pi}{{angle}\left( {1 + {CXYplusYX}} \right)}}}{{XYplusYX\_ CAD} = {20\;\log\; 10\left( {1 + {CXYplusYX}} \right)}}} & (49) \\ {{{XXminusYY\_ CPS} = {\frac{180}{\pi}{{angle}\left( {1 + {CXXminusYY}} \right)}}}{{XXminusYY\_ CAD} = {20\;\log\; 10\left( {1 + {CXXminusYY}} \right)}}} & (50) \\ {{{XYminusYX\_ CPS} = {\frac{180}{~\pi}{{angle}\left( {1 + {CXYminusYX}} \right)}}}{{XYminusYX\_ CAD} = {20\;\log\; 10\left( {1 + {CXYminusYX}} \right)}}} & (51) \end{matrix}$

where CPS quantities represent a compensated phase shift and CAD quantities represent a compensated attenuation.

Other compensated combinations of the couplings may be computed from the ratios of the second harmonic to DC coefficients. These couplings are similar to those described above, but yield compensated measurements at different depths of investigation (i.e., using a single transmitter and a single receiver). For example,

$\begin{matrix} {{CXXminusYYij} = {\frac{{XXminusYY}_{ij}}{{XXplusYY}_{ij}} = \frac{\left( {Z_{ijxx} - Z_{ijyy}} \right)}{\left. {Z_{ijxx} + Z_{ijyy}} \right)}}} & (52) \\ {{CXYplusYXij} = {\frac{XYplusYXij}{{XXplusYY}_{ij}} = \frac{\left( {Z_{ijxy} + Z_{ijyx}} \right)}{\left( {Z_{ijxx} + Z_{ijyy}} \right)}}} & (53) \\ {{CXYminusYXij} = {\frac{XYminusYXij}{{XXplusYY}_{ij}} = \frac{\left( {Z_{ijxy} - Z_{ijyx}} \right)}{\left( {Z_{ijxx} + Z_{ijyy}} \right)}}} & (54) \end{matrix}$

where CXXminusYYij, CXYplusYXij, and CXYminusYXij represent the compensated measurements at any transmitter i receiver j combination and XXplusYY_(ij), XYminusYXij, XXminusYY_(ij), and XYplusYXij are defined in Equations 33 through 36. Additionally, compensated combinations may be computed from the second harmonic coefficients that are sensitive to either the xy or yx couplings For example,

$\begin{matrix} {{CXYij} = {\frac{{XYplusYXij} + {XYminusYXij}}{XXplusYYij} = \frac{2\; Z_{ijxy}}{\left( {Z_{ijxx} + Z_{ijyy}} \right)}}} & (55) \\ {{CYXij} = {\frac{{XYplusYXijxx} - {XYminusYXij}}{XXplusYYij} = \frac{2Z_{ijyx}}{\left( {Z_{ijxx} + Z_{ijyy}} \right)}}} & (56) \end{matrix}$

where CXYij and CYXij represent the compensated measurements at any transmitter i receiver j combination and XXplusYY_(ij), XYminusYXij, and XYplusYXij are defined in Equations 33, 34, and 36. Phase shift and attenuation for the quantities shown in Equations 52 through 56 may be computed as described above with respect to Equations 49-51.

Equations 42 through 56 disclose compensated measurements sensitive to one or more of the xx and yy couplings and the xy and yx couplings. The zz coupling may be compensated, for example, as follows:

$\begin{matrix} {{CZZ} = {\sqrt{\frac{{ZZ}_{12}{ZZ}_{21}}{{ZZ}_{11}{ZZ}_{22}}} = \sqrt{\frac{Z_{12{zz}}Z_{21{zz}}}{Z_{11{zz}}Z_{22{zz}}}}}} & (57) \end{matrix}$

where CZZ represents the compensated measurement and ZZ_(ij) are defined in Equation 41.

Gain compensated quantities sensitive to the xz, zx, yz, and zy couplings may be computed, for example, as follows:

$\begin{matrix} {{CXZZXij} = {\sqrt{\frac{{ZX}_{ij}}{{ZZ}_{ij}}\frac{{XZ}_{ij}}{{XXplusYY}_{ij}}} = \sqrt{\frac{{2 \cdot Z_{ijzx}}Z_{ijxz}}{Z_{ijzz}\left( {Z_{{ijxx} +}Z_{ijyy}} \right)}}}} & (58) \\ {{CYZZYij} = {\sqrt{\frac{{ZY}_{ij}}{{ZZ}_{ij}}\frac{{YZ}_{ij}}{{XXplusYY}_{ij}}} = \sqrt{\frac{{2 \cdot Z_{ijzy}}Z_{ijyz}}{Z_{ijzz}\left( {Z_{{ijxx} +}Z_{ijyy}} \right)}}}} & (59) \end{matrix}$

where CXZZXij represents a compensated quantity sensitive to the product of xz and zx impedances, CYZZYij represents a compensated quantity sensitive to the product of yz and zy impedances, and XXplusYY_(ij), XZ_(ij), YZ_(ij), ZX_(ij), and ZZ_(ij) are defined in Equations 33 and 37 through 41. It will be understood that CXZZXij and CYZZYij may be used to provide compensated measurements at different depths of investigation (e.g., at shallow depths for T1-R1 and T2-R2 combinations and larger depths for T1-R2 and T2-R1 combinations).

Equations 33 and 37 through 41 may also be used to provide compensated quantities that have properties similar to the symmetrized and anti-symmetrized quantities disclosed in U.S. Pat. Nos. 6,969,994 and 7,536,261 which are fully incorporated by reference herein. For example, the following compensated ratios may be computed.

$\begin{matrix} {{R_{zx}\overset{def}{=}{\frac{{ZX}_{12}}{{ZZ}_{11}}\frac{{XZ}_{21}}{{XXplusYY}_{22}}}}{R_{xz}\overset{def}{=}{\frac{{XZ}_{12}}{{XXplusYY}_{11}}\frac{{ZX}_{21}}{{ZZ}_{22}}}}{{R\; 1_{xz\_ zx}}\overset{def}{=}{\frac{{ZX}_{12}}{{ZZ}_{12}}\frac{{XZ}_{12}}{{XXplusYY}_{12}}}}{{R\; 2_{xz\_ zx}}\overset{def}{=}{\frac{{ZX}_{21}}{{ZZ}_{21}}\frac{{XZ}_{21}}{{XXplusYY}_{21}}}}} & (60) \end{matrix}$

In Equation 60, R_(zx) and R_(xz) represent compensated quantities that are proportional to the square of the zx and xz couplings. Hence, compensated measurements proportional to the zx and xz couplings may be obtained, for example, as follows: CZX=√{square root over (R_(zx))} and CXZ=√{square root over (R_(xz))}. Gain compensated measurements sensitive to the zy and yz couplings may be obtained similarly (i.e., by computing R_(zy) and R_(yz)).

The compensated symmetrized and anti-symmetrized measurements may then be defined, for example, as follows:

$\begin{matrix} {{{A\; c}\overset{def}{=}{2\sqrt{R_{zx} + R_{xz} + {{scale}\left( {{R\; 1_{xz\_ zx}} + {R\; 2_{xz\_ zx}}} \right)}}}}{{Sc}\overset{def}{=}{2\sqrt{R_{zx} + R_{xz} - {{scale}\left( {{R\; 1_{xz\_ zx}} + {R\; 2_{xz\_ zx}}} \right)}}}}} & (61) \end{matrix}$

where scale

CZZ·CXX and R_(zx), R_(xz), R1 _(xz) _(_) _(zx), and R2 _(xz) _(_) _(zx) are defined in Equation 60. As described above with respect to Equation 17, taking the square root of a quantity can introduce a sign (or phase) ambiguity. Even with careful unwrapping of the phase in Equation 61, a symmetrized directional measurement Sc may have the same sign whether an approaching bed is above or below the measurement tool. The correct sign may be selected, for example, via selecting the sign of the phase angle and/or attenuation of the following relation: TSD=√{square root over (R _(zx))}−√{square root over (R _(xz))}  (62)

Similarly the anti-symmetrized directional measurement Ac in Equation 61 has the same sign whether the dip azimuth of the anisotropy is less than 180 degrees or greater than 180 degrees. This sign ambiguity may be resolved, for example, by taking the sign of the phase angle and/or attenuation of the following relation. TAD=√{square root over (R _(zx))}+√{square root over (R _(xz))}  (63)

The symmetrized and anti-symmetrized measurements may now be re-defined, for example, as follows to eliminate the sign ambiguity.

$\begin{matrix} {{{Sc}\overset{def}{=}{2\;{{sign}\left( {{angle}({TSD})} \right)}\sqrt{R_{zx} + R_{xz} - {{scale}\left( {{R\; 1_{xz\_ zx}} + {R\; 2_{xz\_ zx}}} \right)}}}}{{Ac}\overset{def}{=}{2\;{{sign}\left( {{angle}({TAD})} \right)}\sqrt{R_{zx} + R_{xz} + {{scale}\left( {{R\; 1_{xz\_ zx}} + {R\; 2_{xz\_ zx}}} \right)}}}}} & (64) \end{matrix}$

Symmetrized directional phase shift and attenuation measurements TDSP and TDSA may be defined, for example, as follows:

$\begin{matrix} {{{TDSP}\overset{def}{=}{\frac{180}{\pi}{{angle}\left( {1 + {Sc}} \right)}}}{{TDSA}\overset{def}{=}{20\;\log\; 10\left( {1 + {Sc}} \right)}}} & (65) \end{matrix}$

Likewise, anti-symmetrized directional phase shift and attenuation TDAP and TDAA measurements may also be defined, for example, as follows:

$\begin{matrix} {{{TDAP}\overset{def}{=}{\frac{180}{\pi~}{{angle}\left( {1 + {Ac}} \right)}}}{{TDAA}\overset{def}{=}{20\;\log\; 10\left( {1 + {Ac}} \right)}}} & (66) \end{matrix}$

The symmetrized and anti-symmetrized phase shift and attenuation given in Equations 65 and 66 may alternatively and/or additionally be modified to scale the phase shifts and attenuations. For example, for a deep reading array having a large spreading loss the phase shifts in particular tend to be small. These values can be scaled by the spreading loss to scale them to values similar to those computed for a conventional shallow array, for example, as follows:

$\begin{matrix} {{{TDSP}\overset{def}{=}{\frac{180}{~\pi}{{angle}\left( {1 + \frac{Sc}{SL}} \right)}}}{{TDSA}\overset{def}{=}{20\;\log\; 10\left( {1 + \frac{Sc}{SL}} \right)}}{and}} & (67) \\ {{{TDAP}\overset{def}{=}{\frac{180}{\pi}{angle}\; 1\left( {1 + \frac{Ac}{SL}} \right)}}{{TDAA}\overset{def}{=}{20\;\log\; 10\left( {1 + \frac{Ac}{SL}} \right)}}} & (68) \end{matrix}$

where SL represents the spreading loss which is proportional to the cube of the ratio of the distance from the transmitter to the near receiver to the distance from the transmitter to the far receiver.

The quantities TSD and TAD computed in Equations 62 and 63 may alternatively be used to compute symmetrized and anti-symmetrized phase shift and attenuation, for example, as follows:

$\begin{matrix} {{{TDSP}\overset{def}{=}{\frac{180}{\pi}{{angle}\left( {1 + {TSD}} \right)}}}{{TDSA}\overset{def}{=}{20\;\log\; 10\left( {1 + {TSD}} \right)}}{and}} & (69) \\ {{{TDAP}\overset{def}{=}{\frac{180}{~\pi}{{angle}\left( {1 + {TAD}} \right)}}}{{TDAA}\overset{def}{=}{20\;\log\; 10\left( {1 + {TAD}} \right)}}} & (70) \end{matrix}$

Moreover, the quantities computed in Equations 58, 59, and 60 may also be used to compute phase shift and attenuation values using the methodology in Equations 69 and 70.

The disclosed embodiments are now described in further detail with respect to the following non-limiting examples in FIGS. 4A, 4B, 5A, 5B, 6, 7A, 7B, 8A, and 8B. These examples are analytical (mathematical) and were computed using software code developed based on a point dipole model.

In the examples that follow (in FIGS. 4A though 5B), a tool model configuration similar to that shown on FIG. 2B was used in which receivers R1 and R2, and transmitter T2 were located 7, 63, and 70 feet above transmitter T1. A two-layer formation model was used in which the upper bed had a horizontal resistivity of 2 ohm·m and a vertical resistivity of 4 ohm·m and the lower bed had zero conductivity (i.e., infinite resistivity). Zero depth was defined as the depth at which the transmitter T1 crossed the bed boundary.

FIGS. 4A and 4B depict phase shift and attenuation versus depth for a compensated zz measurement (from Equation 57) at frequencies of 2, 6, and 12 kHz for the above described model. The computed phase shifts (FIG. 4A) depended on the measurement frequency and were constant with depth above the bed boundary (in the first layer) and decreased to zero below the bed boundary. The computed phase shift values were zero at depths greater than about 100 feet. The computed attenuations (FIG. 4B) also depended on the measurement frequency and were constant with depth above the bed boundary (in the first layer) and decreased to about 57.5 dB below the bed boundary. The computed phase shift values were independent of depth at depths greater than about 100 feet.

FIGS. 5A and 5B depict phase shift and attenuation versus depth for a compensated xx measurement (from Equation 44) at frequencies of 2, 6, and 12 kHz. The computed phase shifts (FIG. 5A) depended on the measurement frequency and were constant with depth down to about 50 feet above the bed boundary. The computed phase shift values were zero at depths greater than about 100 feet (below the boundary). Upon approaching the boundary (from above), the phase shift values underwent a perturbation in which they first decreased, increased sharply to a maximum just below the boundary, decreased to a minimum about 70 feet below the boundary before rising modestly to zero degrees. The computed attenuations (FIG. 4B) also depended on the measurement frequency and were constant with depth down to about 50 feet above the bed boundary. The attenuation was constant and independent of frequency at depths above about 100 feet. Upon approaching the boundary (from above), the phase shift values underwent a perturbation in which they first increased sharply to a maximum just below the boundary, decreased sharply to a minimum at about 70 feet below the boundary before rising to just over 57 dB.

FIG. 6 depicts a three layer formation model used to evaluate the directional response of the compensated symmetrized and anti-symmetrized measurements shown in Equation 58. The upper layer has a horizontal resistivity of 2 ohm·m and a vertical resistivity of 5 ohm·m. The middle layer has a horizontal and vertical resistivities of 200 ohm·m while the lower layer has a horizontal resistivity of 5 ohm·m and a vertical resistivity of 10 ohm·m. The upper and lower boundaries of the middle layer were at −125 and 125 feet, respectively. The electromagnetic tool was inclined at a non-zero dip angle D. In the examples that follow (in FIGS. 7A though 8B), a tool model configuration similar to that shown on FIG. 2B was used in which receivers R1 and R2, and transmitter T2 were located 7, 63, and 70 feet above transmitter T1. Zero depth here was defined as the depth at which the mid-point between the receivers crossed the midpoint of the middle layer.

FIGS. 7A-8B depict symmetrized (solid) and anti-symmetrized (dashed) phase shift and attenuation versus total vertical depth at 30 degrees (FIGS. 7A and 7B) and 70 degrees (FIGS. 8A and 8B) relative dip. The symmetrized phase shift and attenuation are zero away from the bed boundary. Near the boundaries the symmetrized measurement shows a strong response that is independent of anisotropy and whose sign depends on whether the bed is being approached from above or below. The anti-symmetrized phase shift and attenuation respond to dip and anisotropy away from the bed boundary. The anti-symmetrized measurement response to a boundary is suppressed compared to the symmetrized.

It will be understood that the various methods disclosed herein for obtaining fully gain compensated electromagnetic measurement quantities may be implemented on a on a downhole processor. By downhole processor it is meant an electronic processor (e.g., a microprocessor or digital controller) deployed in the drill string (e.g., in the electromagnetic logging tool or elsewhere in the BHA). In such embodiments, the fully compensated measurement quantities may be stored in downhole memory and/or transmitted to the surface while drilling via known telemetry techniques (e.g., mud pulse telemetry or wired drill pipe). Alternatively, the harmonic fitting coefficients may transmitted uphole and the compensated quantities may be computed at the surface using a surface processor. Whether transmitted to the surface or computed at the surface, the quantity may be utilized in an inversion process (along with a formation model) to obtain various formation parameters as described above.

Although deep reading electromagnetic logging while drilling tools have been described in detail, it should be understood that various changes, substitutions and alternations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims. 

What is claimed is:
 1. An electromagnetic logging while drilling tool comprising: first and second logging while drilling subs, the first sub including a first transmitter and a first receiver axially spaced apart from one another; the second sub including a second transmitter and a second receiver axially spaced apart from one another; each of the first and second transmitters and first and second receivers including an axial antenna and collocated first and second transverse antennas; and the first and second transverse antennas in the first receiver being rotationally offset by a predefined angle from the first and second transverse antennas in the first transmitter wherein the first and second subs are rotationally offset from one another by an arbitrary angle such that the first and second transverse antennas in the second transmitter are rotationally offset from the first and second transverse antennas in the first transmitter.
 2. The logging tool of claim 1, wherein the first sub further comprises a first set of magnetometers and the second sub further comprises a second set of magnetometers.
 3. The logging tool of claim 2, further comprising a downhole processor configured to (i) acquire magnetic field measurements from the first and second sets of magnetometers and (ii) process the magnetic field measurements to compute the arbitrary angle.
 4. An electromagnetic logging while drilling tool comprising: first and second logging while drilling subs, the first sub including a first transmitter and a first receiver axially spaced apart from one another; the second sub including a second transmitter and a second receiver axially spaced apart from one another; each of the first and second transmitters and first and second receivers including an axial antenna and collocated first and second transverse antennas; and the first and second transverse antennas in the first receiver being rotationally offset by a predefined angle from the first and second transverse antennas in the first transmitter further comprising a downhole processor configured to (i) acquire voltage measurements from the first and second receivers and (ii) process ratios of selected ones of the voltage measurements to obtain gain compensated measurement quantities wherein (ii) comprises: (iia) processing the voltage measurements acquired in (i) to compute harmonic coefficients; (iib) mathematically rotating the harmonic coefficients through at least the predefined angle to obtain rotated coefficients; and (iic) processing ratios of selected ones of the rotated coefficients to compute the gain compensated measurement quantities.
 5. An electromagnetic logging while drilling tool comprising: first and second logging while drilling subs, the first sub including a first transmitter and a first receiver axially spaced apart from one another; the second sub including a second transmitter and a second receiver axially spaced apart from one another; each of the first and second transmitters and first and second receivers including an axial antenna and collocated first and second transverse antennas; and the first and second transverse antennas in the first receiver being rotationally offset by a predefined angle from the first and second transverse antennas in the first transmitter further comprising a downhole processor configured to (i) acquire voltage measurements from the first and second receivers and (ii) process ratios of selected ones of the voltage measurements to obtain gain compensated measurement quantities wherein (ii) comprises: (iia) processing the voltage measurements acquired in (i) to compute harmonic coefficients; (iib) processing selected ones of the harmonic coefficients computed in (iia) to obtain transmitter and receiver gain matrices; (iic) applying the gain matrices to the harmonic coefficients; (iid) mathematically rotating the harmonic coefficients through at least the predefined angle to obtain rotated coefficients; (iie) processing combinations of the rotated coefficients to obtain rotated combinations; and (iif) processing ratios of selected ones of the rotated combinations to obtain the gain compensated measurement quantities.
 6. An electromagnetic logging while drilling tool comprising: a first logging while drilling sub having a first longitudinal axis and including a first transmitter and a first receiver axially spaced apart from one another, the first transmitter including first, second, and third transmitting antennas, the first transmitting antenna having a moment parallel with the first axis, the second and third transmitting antennas being axially collocated and having corresponding moments that are transverse to the first axis and orthogonal to one another; the first receiver including first, second, and third receiving antennas, the first receiving antenna having a moment parallel with the first axis, the second and third receiving antennas being axially collocated and having corresponding moments that are transverse to the first axis and orthogonal to one another, the second and third receiving antennas being rotationally offset from the second and third transmitting antennas by a predefined angle; a second logging while drilling sub having a second longitudinal axis and including a second transmitter and a second receiver axially spaced apart from one another, the second transmitter including first, second, and third transmitting antennas, the first transmitting antenna having a moment parallel with the second axis, the second and third transmitting antennas being axially collocated and having corresponding moments that are transverse to the second axis and orthogonal to one another; the second receiver including first, second, and third receiving antennas, the first receiving antenna having a moment parallel with the second axis, the second and third receiving antennas being axially collocated and having corresponding moments that are transverse to the second axis and orthogonal to one another, the second and third receiving antennas being rotationally offset from the second and third transmitting antennas by the predefined angle; and wherein the first and second logging while drilling subs are rotationally offset from one another by an arbitrary angle.
 7. The logging tool of claim 6, wherein the first sub further comprises a first set of magnetometers and the second sub further comprises a second set of magnetometers.
 8. The logging tool of claim 7, further comprising a downhole processor configured to (i) acquire magnetic field measurements from the first and second sets of magnetometers and (ii) process the magnetic field measurements to compute the arbitrary angle.
 9. The logging tool of claim 6, wherein the predefined angle is about 45 degrees.
 10. The logging tool of claim 6, wherein the axial antenna and the first and second transverse antennas in each of the first and second transmitters and first and second receivers are collocated.
 11. The logging tool of claim 6 further comprising a downhole processor configured to (i) acquire voltage measurements from the first and second receivers and (ii) process ratios of selected ones of the voltage measurements to obtain gain compensated measurement quantities. 